package com.jodinfo.outmirror.Exception;

public class OffMessageException extends RuntimeException{
	
	
	private static final long serialVersionUID = 7756593431432863154L;
	
    protected String errorCode;
    protected String message;
	
	/**
	 * <br>------------------------------<br>
	 * @param errorCode
	 * @param message
	 */
	public OffMessageException(String errorCode, String message) {
		  super(message);
		  this.setErrorCode(errorCode);
	}
	
	public OffMessageException(String message)  {
         super(message);
     }
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
}
